package com.jf3q.sup.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *  销售订单表vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SalesOrdersVo {
    /**
     * 销售id
     */
    private Integer id;

    /**
     * 客户ID
     */
    private Integer customerId;

    /**
     * 订单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;

    /**
     * 订单总金额
     */
    private BigDecimal totalAmount;

    /**
     * 客户名称
     */
    private String name;

    /**
     * 销售明细
     */
    private List<SalesOrderDetailsVo> salesOrderDetailsVo;

    /**
     * 销售明细
     */
    private Integer state;


}
